package com.demo;


public class Student {
    private String sno;
    private String name;
    private String sex;
    private String age;
    private String collage;

    public Student(String sno,String name){
        this.sno = sno;
        this.name = name;
    }
    public Student(String sno, String name,String sex,String age,String collage) {
        this.sno = sno;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.collage = collage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getCollage() {
        return collage;
    }

    public void setCollage(String collage) {
        this.collage = collage;
    }
}